<%@ page import="evol.Rezultat" %>



<div class="fieldcontain ${hasErrors(bean: rezultatInstance, field: 'indeks', 'error')} required">
	<label for="indeks">
		<g:message code="rezultat.indeks.label" default="Indeks" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="text" name="indeks" step="0.01" min="0" max="1" step="any" required="" value="${rezultatInstance.indeks}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: rezultatInstance, field: 'istrazivanje', 'error')} required">
	<label for="istrazivanje">
		<g:message code="rezultat.istrazivanje.label" default="Istrazivanje" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="istrazivanje" name="istrazivanje.id" from="${evol.Istrazivanje.list()}" optionKey="id" required="" value="${rezultatInstance?.istrazivanje?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: rezultatInstance, field: 'korisnik', 'error')} required">
	<label for="korisnik">
		<g:message code="rezultat.korisnik.label" default="Korisnik" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="korisnik" name="korisnik.id" from="${evol.Korisnik.list()}" optionKey="id" required="" value="${rezultatInstance?.korisnik?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: rezultatInstance, field: 'predmet1', 'error')} required">
	<label for="predmet1">
		<g:message code="rezultat.predmet1.label" default="Predmet1" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="predmet1" name="predmet1.id" from="${evol.Predmet.list()}" optionKey="id" required="" value="${rezultatInstance?.predmet1?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: rezultatInstance, field: 'predmet2', 'error')} required">
	<label for="predmet2">
		<g:message code="rezultat.predmet2.label" default="Predmet2" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="predmet2" name="predmet2.id" from="${evol.Predmet.list()}" optionKey="id" required="" value="${rezultatInstance?.predmet2?.id}" class="many-to-one"/>
</div>

